package com.clubs.coding.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LearningReq {
    @NotNull(message = "学习记录表id不能为空")
    private Integer learningId;
    @NotNull(message = "成绩不能为空")
    private String report;
    @NotNull(message = "评价不能为空")
    private String evaluate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date nullItem;
    private Integer isEvaluate;

}